// @import 'common';
@import '_mixin';
@import '_variable';
@import 'screen';



.container {
  background: $backColor;
}

//input cell
/deep/ .weui-cell {
  padding: 15px 0;
}

//修改cell 上邊距
/deep/ .weui-cells {
  margin-top: 1px;
}

/deep/ .weui-input::-webkit-input-placeholder {
  /* placeholder字体大小  */
  font-size: 12px;
}
/deep/ input::-webkit-input-placeholder {
  /* placeholder字体大小  */
  font-size: 12px;
}

/deep/ .weui-icon-search{
  color:$mainColor
}

/deep/ .vux-slider>.vux-indicator>a>.vux-icon-dot.active,
.vux-slider .vux-indicator-right>a>.vux-icon-dot.active {
  background-color: #fff
}
/deep/ .vux-slider>.vux-indicator>a>.vux-icon-dot,
.vux-slider .vux-indicator-right>a>.vux-icon-dot{
  width: 28px;
  height: 4px;
  border-radius: unset;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}


//弹窗样式
/deep/ .x_dialog {
  border-radius: 24px;
  text-align: center;
  background: #fff;
  padding: 90px 40px 40px 40px;
  font-weight: 600;

  .title {
    font-size: 34px;
  }

  .btn_wrap {
    margin-top: 80px;

    .btn_list {
      height: 64px;
      border-radius: 8px;
      font-size: 26px;
      color: #fff;
      flex: 1;
    }

    :nth-child(1) {
      background: $btnColorDepict;
      margin-right: 16px;
    }

    :nth-child(2) {
      background: $mainColor
    }

  }
}

/deep/ .box_float {
  margin-top: 20px;

  .box_float_list {
    float: left;
    padding-left: 175px;
    line-height: 40px;
  }
}

/deep/ .clearFloat {
  clear: both
}

// 弹性盒子容器
/deep/ .flex_box {
  display: flex
}

// 垂直居中
/deep/ .box_items {
  display: flex;
  align-items: center
}

// 垂直居中分列
/deep/ .box_items_direction {
  display: flex;
  align-items: center;
  flex-direction: column;
}

// 垂直居中左右分列 需要在根元素两个div上加 between_left 和 between_right
/deep/ .box_items_between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

// 垂直水平居中
/deep/ .box_auto {
  display: flex;
  align-items: center;
  justify-content: center;
}

//左右排列 需要在根元素两个div上加 between_left 和 between_right 以方便后期调试兼容
/deep/ .box_between {
  display: flex;
  justify-content: space-between;
}


//文字溢出加省略号
/deep/ .text_ellipsis {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  // -webkit-line-clamp: 3;//限制输入行数，调用的时候加
}

//圖片加載失敗樣式
/deep/ .ximg_error {}

//區塊樣式
/deep/ .block_box {
  margin: 0px 0px;
  margin-top: 50px;
  background: #fff;
  // min-height: 768px;
  box-shadow: 0px 4px 42px 0px rgba(245, 232, 225, 1);
  border-radius: 0px;
  padding-bottom: 64px;
}
/deep/ .block_box_auto{
  margin: 50px 40px;

}

// 表单类
//input label
/deep/ .inputLabel {
  min-width: 90px;
  text-align: justify;
  text-align-last: justify;
  font-size: $fontSize30;
  margin-right: 40px;
  font-weight: 600;
}

// 獲取驗證碼按鈕
/deep/ .verCode {
  border: 2px solid $mainColor;
  font-size: $fontSizeDepict;
  width: 180px;
  height: 60px;
  border-radius: 60px;
  color: $mainColor
}

/deep/ .verCodeGray {
  border: 2px solid $fontColorDepict;
  font-size: $fontSizeDepict;
  width: 180px;
  height: 60px;
  border-radius: 60px;
  color: $fontColorDepict
}

/deep/ input::-webkit-input-placeholder {
  font-size: $fontSize30;
}

.btn_main_all {
  width: 100%;
  height: 100px;
  background: $mainColor;
  color: #fff;
  font-size: $fontSize34;
  border-radius: 8px;
}

// 吸底按鈕組
/deep/ .footerBtn {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 98px;
  font-size: $fontSize30;
   box-shadow: 0px 4px 40px 0px rgba(245, 232, 225, 1);

  .footerBtn_tips {
    padding-left: 40px;

    .title {
      font-size: $fontSizeSmall;
      margin-top: 12px;
      font-weight: 600
    }

    .text {
      color: $mainColor;
      font-size: $fontSize30;
      margin-top: 5px;
      font-weight: 600;

      span {
        font-size: $fontSize20;
        color: $fontColorDepict;
        margin-left: 15px;
        font-weight: 400
      }
    }
  }

  .btn_left {
    width: 58%;
    background: #fff;
    height: 98px;
  }

  .btn_right {
    width: 42%;
    background: $mainColor;
    height: 98px;
    color: #fff;
  }

  .btn_all {
     width: 100%;
    background: $mainColor;
    height: 98px;
    color: #fff;
  }

  .btn_forbid {
    background: $fontColorDepict
  }

}

// 區塊標題
/deep/ .block_title {
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  padding-top: 50px;
  padding-left: 54px;
  padding-right: 48px;
  color: #000;
  margin-bottom: 45px;

  div:nth-child(1) {
    font-size: 32px;
    position: relative;
    padding-left: 32px;
    font-weight: 600
  }

  div:nth-child(1)::after {
    content: '';
    display: block;
    width: 12px;
    height: 34px;
    background-color: $mainColor;
    position: absolute;
    top: 6px;
    left: 0;
    border-radius: 35px;
  }

  div:last-child {
    font-size: 28px;
    color: #9b9b9b;
    display: flex;
    align-items: center;
  }
}

// 菜單頁頭部圖片區域
/deep/ .menu_top_img_box {
  width: 100%;
  height: 326px;

  .menu_top_img {
    width: 100%;
    height: 100%;
  }
}

// 菜單頁按鈕組
/deep/ .menu_list_btn_wrap {
  display: flex;

  .menu_list_btn_list {
    color: #fff;
    font-size: $fontSize20;
    height: 48px;
    border-radius: 6px;

    .icon_cart {
      margin-right: 10px;
    }
  }
 
  .menu_list_btn_list_activity {
    background-color: $mainColor;
    // width: 160px;
    padding: 0 20px;
  }

  .menu_list_btn_list_gray {
    background-color: $btnColorDepict;
    width: 102px;
    margin-right: 8px;
  }

  // .menu_list_btn_list:nth-child(1) {
  //   background-color: $btnColorDepict;
  //   width: 102px;
  //   margin-right: 8px;
  // }

  // .menu_list_btn_list:nth-child(2) {
  //   background-color: $mainColor;
  //   width: 160px;
  // }
}

//查看更多
/deep/ .see_more {
  width: 100%;
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #9b9b9b;
}

/deep/ .see_more_btn {
  width: 140px;
  height: 52px;
  // padding: 0 20px;
  border-radius: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: $fontSizeDepict;
  color: $mainColor;
  border: 2px solid $mainColor;
  margin-top: 40px;

  .vux-x-icon {
    fill: $mainColor;
    margin-left: 2px;
  }

}

// menu區塊標題
/deep/ .menu_block_title {
  font-size: 40px;
  padding: 28px 44px;
  font-weight: 600
}

// 設置邊框顏色
/deep/ .vux-1px-b:after {
  border-color: $borderColor;
}
//空狀態
.box_null {
  font-size: $fontSize30;
  color: $fontColorDepict;
  margin-top: 180px;

  .btn {
    width: 296px;
    height: 76px;
    margin-top: 36px;
    background: rgba(239, 127, 58, 1);
    border-radius: 8px;
    color: #fff;
  }
}

//会员卡片样式
.vipCar {
  width: 630px;
  height: 400px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0px 11px 25px 0px rgba(0, 0, 0, 0.07);
  border-radius: 22px;
  margin: 0 auto;
  margin-top: -200px;
  color: #fff;

  .img_vipCar {
    position: relative;
  }

  .text_wrap {
    font-size: $fontSizeSmall;
    opacity: 0.8;
    position: absolute;
    bottom: 45px;
    left: 20px;

    .title {
      font-weight: 600;
      font-size: $fontSize34;
      margin-bottom: 20px;
    }
  }
}

// 評論內容輸入彈窗
/deep/ .comment_wrap {
  padding: 80px 40px;
  padding-bottom: 40px;
  position: relative;

  .comment_textarea {
    padding: 20px;
    font-size: $fontSize28;
  }

  .sendMsg {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: $fontSize28;
    color: $mainColor;
  }
}

// 圖文
/deep/ .detail_markdown_box {
  .detail_markdown_wrap {
    font-size: $fontSize30;
    line-height: 50px;

    // padding: 0 20px;
    img {
      width: 100%;
      height: auto;
      margin-bottom: 40px;
    }
  }
}


//img 垂直水平居中
/deep/ .img_auto {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover
}

/deep/ .img_pingpu {
  background-position: center center ;
  background-repeat: no-repeat;
  background-size: cover
}

//img 顶部对齐
/deep/ .img_top_auto {
  background-repeat: no-repeat;
  background-size: cover
}


/deep/ .book_big_img {
  width: 280px;
  height: 388px;
}

/deep/ .book_img {
  width: 250px;
  height: 352px;
}

/deep/ .book_medium_img {
  width: 196px;
  height: 270px;
}

/deep/ .book_small_img {
  width: 160px;
  height: 224px;
}

/deep/ .book_bitty_img{
  width: 182px;
  height: 258px;
}

/deep/ .book_mini_img {
  width: 150px;
  height: 210px;
}

/deep/ .literature_book_img {
  width: 170px;
  height: 247px;
}

/deep/ .scroll_course_img {
  width: 434px;
  height: 232px;
}

/deep/ .audio_book_img {
  width: 170px;
  height: 240px;
}

/deep/ .user_img {
  width: 84px;
  height: 84px;
  border-radius: 50%
}

/deep/ .user_big_img {
  width: 156px;
  height: 156px;
  border-radius: 50%
}

/deep/ .bg1_img {
  width: 750px;
  height: 464px;
}

/deep/ .img_vipCar {
  width: 538px;
  height: 320px;
}


//icon
/deep/ .vux-x-icon {
  fill: #c8c7cc;
}

/deep/ .weui-icon-waiting-circle {
  font-size: 14px;
  color: $fontColorDepict;
}

// vip卡片
/deep/ .icon_card {
  width: 56px;
  height: 40px;
}

// 小购物车
/deep/ .icon_cart {
  width: 26px;
  height: 24px;
}

/deep/ .icon_big_cart {
  width: 41px;
  height: 40px;
}

/deep/ .icon_setting {
  width: 50px;
  height: 52px;
}

/deep/ .weui-cells:before {
  border: none;
}

/deep/ .icon_refresh {
  width: 24px;
  height: 24px;
  position: relative;//首頁
  top: 3px;
}

/deep/ .icon_saying {
  width: 32px;
  height: 38px;
}

/deep/ .icon_author {
  width: 24px;
  height: 28px;
}

/deep/ .icon_play {
  width: 147px;
  height: 147px;
}

/deep/ .icon_play_small {
  width: 73px;
  height: 73px;
}

/deep/ .icon_start_course {
  width: 37px;
  height: 31px;
}

/deep/ .icon_audio_book {
  width: 35px;
  height: 30px;
}

/deep/ .icon_e_book {
  width: 39px;
  height: 30px;
}

/deep/ .icon_video {
  width: 37px;
  height: 27px;
}

/deep/ .icon_double_quotes {
  width: 134px;
  height: 104px;
}


/deep/ .icon_play_black {
  width: 71px;
  height: 71px;
}

/deep/ .icon_h_group {
  width: 20px;
  height: 24px;
}

/deep/ .icon_lock {
  width: 48px;
  height: 53px;
}

/deep/ .icon_edit {
  width: 29px;
  height: 29px;
}

/deep/ .icon_like {
  width: 30px;
  height: 32px;
}

/deep/ .icon_audio_list {
  width: 42px;
  height: 38px;
}

/deep/ .icon_down_load {
  width: 46px;
  height: 52px;
}

/deep/ .icon_next {
  width: 23px;
  height: 29px;
}

/deep/ .icon_play_noborader {
  width: 40px;
  height: 52px;
}

/deep/ .icon_message {
  width: 36px;
  height: 33px;
}

/deep/ .icon_good {
  width: 40px;
  height: 40px;
}

/deep/ .icon_star {
  width: 40px;
  height: 38px;
}

/deep/ .icon_share {
  width: 32px;
  height: 32px;
}

/deep/ .icon_logo {
  width: 182px;
  height: 158px;
}

/deep/ .icon_success {
  width: 124px;
  height: 124px;
}

/deep/ .icon_null {
  width: 354px;
  height: 284px;
}

/deep/ .icon_gold {
  width: 72px;
  height: 72px;
}
/deep/ .icon_collection {
  width: 64px;
  height: 62px;
}

/deep/ .icon_Mybook {
  width: 66px;
  height: 66px;
}

/deep/ .icon_Mycours {
  width: 68px;
  height: 56px;
}

/deep/ .icon_Mylisten {
  width: 60px;
  height: 58px;
}

/deep/ .icon_Vip {
  width: 58px;
  height: 60px;
}

